package com.dc.system.model;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.wordnik.swagger.annotations.ApiOperation;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "系统部门实体类")
public class SysDept implements Serializable {
	/**
	 *
	 */
	@ApiModelProperty(value = "部门id")
	private int dept_id;

	/**
	 * 部门名称
	 *
	 */
	@ApiModelProperty(value = "部门名称")
	private String name;

	/**
	 * 上级部门id
	 *
	 */
	@ApiModelProperty(value = "上级部门id")
	private int fk_parent_id;

	/**
	 * 部门负责人id
	 *
	 */
	@ApiModelProperty(value = "部门负责人id")
	private int fk_header_id;

	/**
	 * 部门联系人id
	 *
	 */
	@ApiModelProperty(value = "部门联系人id")
	private int fk_contacts_id;

	/**
	 * 联系电话
	 *
	 */
	@ApiModelProperty(value = "联系电话")
	private String telephone;

	/**
	 * 部门智能
	 *
	 */
	@ApiModelProperty(value = "部门智能")
	private String functions;

	/**
	 * 排序
	 *
	 */
	@ApiModelProperty(value = "排序")
	private int order_code;

	/**
	 * 地址
	 *
	 */
	@ApiModelProperty(value = "地址")
	private String address;

	/**
	 * 备注
	 *
	 */
	@ApiModelProperty(value = "备注")
	private String memo;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建用户id")
	private int create_user_id;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建用户名")
	private String create_user_name;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建时间")
	private Date create_time;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新用户id")
	private int update_user_id;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新用户名")
	private String update_user_name;

	/**
	 *
	 */
	@ApiModelProperty(value = "更新时间")
	private Date update_time;

	/**
	 * 0删除1存在
	 *
	 */
	@ApiModelProperty(value = "0删除1存在")
	private int is_deleted;

	/**
	 * 版本号
	 */
	@ApiModelProperty(value = "版本号")
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	/**
	 */
	private static final long serialVersionUID = 1L;

	public int getDept_id() {
		return dept_id;
	}

	public void setDept_id(int dept_id) {
		this.dept_id = dept_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getFk_parent_id() {
		return fk_parent_id;
	}

	public void setFk_parent_id(int fk_parent_id) {
		this.fk_parent_id = fk_parent_id;
	}

	public int getFk_header_id() {
		return fk_header_id;
	}

	public void setFk_header_id(int fk_header_id) {
		this.fk_header_id = fk_header_id;
	}

	public int getFk_contacts_id() {
		return fk_contacts_id;
	}

	public void setFk_contacts_id(int fk_contacts_id) {
		this.fk_contacts_id = fk_contacts_id;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getFunctions() {
		return functions;
	}

	public void setFunctions(String functions) {
		this.functions = functions;
	}

	public int getOrder_code() {
		return order_code;
	}

	public void setOrder_code(int order_code) {
		this.order_code = order_code;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", dept_id=").append(dept_id);
		sb.append(", name=").append(name);
		sb.append(", fk_parent_id=").append(fk_parent_id);
		sb.append(", fk_header_id=").append(fk_header_id);
		sb.append(", fk_contacts_id=").append(fk_contacts_id);
		sb.append(", telephone=").append(telephone);
		sb.append(", functions=").append(functions);
		sb.append(", order_code=").append(order_code);
		sb.append(", address=").append(address);
		sb.append(", memo=").append(memo);
		sb.append(", create_user_id=").append(create_user_id);
		sb.append(", create_user_name=").append(create_user_name);
		sb.append(", create_time=").append(create_time);
		sb.append(", update_user_id=").append(update_user_id);
		sb.append(", update_user_name=").append(update_user_name);
		sb.append(", update_time=").append(update_time);
		sb.append(", is_deleted=").append(is_deleted);
		sb.append("]");
		return sb.toString();
	}

}